package com.junwell.mapper;

import com.junwell.entity.Orders;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 */
@Mapper
public interface OrdersMapper extends BaseMapper<Orders> {

    int updateDriver(List<Orders> ordersList);

    int driverSentOver(Integer id);

    int sent(Integer id);

    int over(Integer id);
}
